﻿@model MusicStore.Models.Administrator
@{
    ViewBag.Title = "Create";
}

<h2>修改管理员密码</h2>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <div>
        <h4>修改密码</h4>
    </div>
    @Html.ValidationSummary(true, "")
    <div>
        @Html.LabelFor(model => model.AdministratorId, "账号")
        <div>
            @Html.EditorFor(model => model.AdministratorId)
            @Html.ValidationMessageFor(model => model.AdministratorId)
        </div>
    </div>
    <div>
        @Html.LabelFor(model => model.Password, "密码")
        <div>
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
    </div>
    <div>
        @Html.LabelFor(model => model.Password, "确认密码")
        <div>
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <input type="submit" value="Create" class="btn btn-default" />
        </div>
    </div>
}
